package com.biyabi.pojo;

import com.biyabi.entity.*;

import java.util.List;

public class ProductPojo {
    private Product product;
    private Supplier supplier;
    private Catelog catelog;
    private Brand brand;
    private List<Priture> tops;
    private List<Priture> downs;
    private List<SkuPojo> skuPojos;

    @Override
    public String toString() {
        return "ProductPojo{" +
                "product=" + product +
                ", supplier=" + supplier +
                ", catelog=" + catelog +
                ", brand=" + brand +
                ", tops=" + tops +
                ", downs=" + downs +
                ", skuPojos=" + skuPojos +
                '}';
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public Catelog getCatelog() {
        return catelog;
    }

    public void setCatelog(Catelog catelog) {
        this.catelog = catelog;
    }

    public Brand getBrand() {
        return brand;
    }

    public void setBrand(Brand brand) {
        this.brand = brand;
    }

    public List<Priture> getTops() {
        return tops;
    }

    public void setTops(List<Priture> tops) {
        this.tops = tops;
    }

    public List<Priture> getDowns() {
        return downs;
    }

    public void setDowns(List<Priture> downs) {
        this.downs = downs;
    }

    public List<SkuPojo> getSkuPojos() {
        return skuPojos;
    }

    public void setSkuPojos(List<SkuPojo> skuPojos) {
        this.skuPojos = skuPojos;
    }

    public ProductPojo(Product product, Supplier supplier, Catelog catelog, Brand brand, List<Priture> tops, List<Priture> downs, List<SkuPojo> skuPojos) {

        this.product = product;
        this.supplier = supplier;
        this.catelog = catelog;
        this.brand = brand;
        this.tops = tops;
        this.downs = downs;
        this.skuPojos = skuPojos;
    }

    public ProductPojo() {

    }
}
